package com.yykj.order.center.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan(basePackages = { "com.yykj.common", "com.yykj.order.center.server" })
@EnableFeignClients(basePackages = {"com.yykj"})
public class OrderCenterServerApplication {
    public static void main(String[] args) {
        SpringApplication.run(OrderCenterServerApplication.class, args);
    }
}
